Ext.onReady(function () {
    try {
        var viewport = Ext.create('Ext.container.Viewport', {
            layout:{type:'fit'}
        });
        var homeShell = Ext.create('jwawa.erp.home.portal.PortalShell');
        viewport.add(homeShell);
    } catch (e) {
        alertError(e.message);
        throw e;
    }
});